package com.regent.central.bill.service;

import com.regent.central.bill.core.SaleOrderRemark;
import com.regent.central.infrastructure.service.DomainService;

import java.util.List;

public interface SaleOrderRemarkService extends DomainService<SaleOrderRemark> {

    /**
     * 伪删除
     *
     * @param saleOrderRemarkId 销售单备注ID
     * @param userDeleted       删除人
     */
    void hide(String saleOrderRemarkId, String userDeleted);

    /**
     * 获取销售单的备注列表
     *
     * @param saleOrderId 销售单ID
     * @return 销售单的备注列表
     */
    List<SaleOrderRemark> getSaleOrderRemarks(String saleOrderId);

}